package com.pearl.entitys.dataBaseTable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@ApiModel(description = "Permission")

public class Permission {

  @ApiModelProperty(value = "未备注")
  private String id;

  @ApiModelProperty(value = "权限id")
  private String permissionId;

  @ApiModelProperty(value = "权限名称")
  private String name;

  @ApiModelProperty(value = "权限描述")
  private String description;

  @ApiModelProperty(value = "父级权限id")
  private Integer parentId;

  @ApiModelProperty(value = "状态：1有效；2删除")
  private int status;

  @ApiModelProperty(value = "未备注")
  private LocalDateTime createTime;

  @ApiModelProperty(value = "未备注")
  private LocalDateTime updateTime;


}
